//
//  ProductListModel.h
//  DA_V
//
//  Created by 中亿世联前台 on 15/5/14.
//  Copyright (c) 2015年 zhouhai. All rights reserved.
//

#import <Foundation/Foundation.h>
@class ProductModel;
@class CategoryModel;
@protocol ProductListModelDelegate<NSObject>

@optional
- (void)getProDuctListInterfaceEnd;//获取商品列表类型接口结束
- (void)getCategoryListInterfaceEnd;//获取商品类列表型接口结束
- (void)requesterror;//网络异常代理
- (void)getrequesterror:(NSString *)error;//请求服务器繁华的错误信息代理
@end

@interface ProductListModel : NSObject

@property (nonatomic,copy) NSString *ProductID;  //产品ID
@property (nonatomic,copy) NSString *ThumbPath;  //产品缩略图地址
@property (nonatomic,copy) NSString *ProductName;//产品名称
@property (nonatomic,copy) NSString *DiscountPriceAmount ;    //折扣价
@property (nonatomic,copy) NSString *MarketPriceAmount;       //原价
@property (nonatomic,copy) NSString *Content;     //产品简介

@property (nonatomic,weak) id<ProductListModelDelegate> productlistModelDelegate;


- (void)getProductList:(NSMutableArray *)array parameter:(NSDictionary *)productModel;

- (void)getCategoryList:(NSMutableArray *)array parameter:(NSDictionary *)parameter;


@end
